
public class Cavalier extends Piece{

	/*****Methodes*****/
	
	/******** Constructeur ********/
	public Cavalier(int x, int y, boolean white, boolean active)
	{
		super(x,y,white,active,0);
		if (white)
			setM_type("cb");
		else
			setM_type("cn");
	}
	
	/******** Fonction utile ********/
	
	public boolean echiquierG()
	{
		if ((super.getNbDepl() %2) == 0)
			return true;
		else return false;
	}
	
}
 